using NetMigration.Utilities;

namespace Example1
{
    [DbVersion(3)]
    public class CreateUser : Migration
    {
        public override void Up()
        {
            CreateTable("User");
        }

        public override void Down()
        {
            DropTable("User");
        }
    }

    [DbVersion(4)]
    public class CreateRole : Migration
    {
        public override void Up()
        {
            CreateTable("Role");
        }

        public override void Down()
        {
            DropTable("Role");
        }
    }

    [DbVersion(5)]
    public class CreateModule : Migration
    {
        public override void Up()
        {
            CreateTable("Module");
        }

        public override void Down()
        {
            DropTable("Module");
        }
    }
}